import React, { memo } from 'react'
import Icon from '@/components/common/Icon'
import './index.scss'

const Buoy = (props) => (
  <div className="buoy">
    <span className="buoy-text">{props.text}</span>
    <Icon name={props.icon}></Icon>
  </div>
)

export default memo(Buoy)
